package com.xsd.awen.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("t_tk_task")
public class Task {

    @TableId(type = IdType.INPUT)
    private String id;

    private String projectId;

    private String appId;

    private String name;

    private String remarks;

    private String cp;

    private String cs;

    private Integer gs;

    private Integer workTime;

    private Integer workCycle;

    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date stopTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date onlineTime;

    private String createUserId;

    private String updateUserId;


}